<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/4/20
  Time: 11:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3><spring:message code="title"/></h3>
<fm:form modelAttribute="user" method="post" action="register">
    <spring:message code="loginName"/>
    <fm:input path="loginName"/><br/>
    <spring:message code="password"/>
    <fm:input path="password"/><br/>
    <spring:message code="age"/>
    <fm:input path="age"/><br/>
    <spring:message code="email"/>
    <fm:input path="email"/><br/>
    <spring:message code="phone"/>
    <fm:input path="phone"/><br/>
    <input type="submit" value="<spring:message code="submit"/>"><br/>
</fm:form>
</body>
</html>
